<?php defined('SYSPATH') or die('No direct script access.') ?>
<form class="form-horizontal" method="POST">
	<div class="control-group">
		<label class="control-label" for="inputLogin">Логин</label>
		<div class="controls">
			<input type="text" id="inputLogin" name="addusername" placeholder="логин">
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="inputFio">ФИО</label>
		<div class="controls">
			<input type="text" id="inputFio" name="addfio" placeholder="Фамилия Имя Отчество">
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="inputjJob">Должность</label>
		<div class="controls">
			<input type="text" id="inputJob" name="addjob" placeholder="должность">
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="inputEmail">Почта</label>
		<div class="controls">
			<input type="text" id="inputEmail" name="addemail" placeholder="электронная почта">
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="inputPassword">Пароль</label>
		<div class="controls">
			<input type="password" id="inputPassword" name="addpassword" placeholder="пароль">
		</div>
	</div>
	<div class="control-group">
		<label class="control-label" for="inputConfirmPassword">Подтверждение пароля</label>
		<div class="controls">
			<input type="password" id="inputConfirmPassword" name="confirmpassword" placeholder="подтверждение пароля">
		</div>
	</div>
	<div class="control-group">
		<div class="controls">
<?php
if (empty($edit))
{
?>
			<button type="submit" class="btn" name="create">Создать</button>
<?php
}
else
{
?>
			<button type="submit" class="btn" name="edit">Изменить</button>
<?php
}
?>
		</div>
	</div>
</form>
